package com.qf.util;

/**
 * @version : 1.0
 * @author:宋煜
 * @date: 2022/4/12 12:54
 */
public enum ResponseCode {
    SUCCESS("200","请求成功"),
    FAILURE("500","请求失败"),
    ADD_CART_SUCCESS("201","加购成功"),
    ADD_CART_FAILURE("501","加购失败");
    private String code;
    private String msg;
    ResponseCode(String code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
